import RateSource from "./RateSource.js";
export default {
    components: {
        "rate-source":RateSource,
    },
    template:`
    <!-- 电影展示组件 start -->
    <div class="film-item">
        <div class="film-img" :style=" 'background-image: url('+film.filmImg+')' "></div>
        <div class="film-title">{{ film.filmName }}</div>
        <rate-source :source="film.source"></rate-source>
    </div>
    <!-- 电影展示组件 end -->
    `,
    props:{
        film:{
            type:Object,
            default(){
                return {}
            }
        }
    }
}